@charset "UTF-8";
/* ============================================================
   xx-inadmin Vue 版公共样式（高对比度版）
   引入方式：<link rel="stylesheet" href="<%=request.getContextPath()%>/jslib/vue/vue-common.css">
   说明：
   1. 所有类名统一 v- 前缀，且全部使用类选择器，不会影响非 Vue 页面；
   2. 分为：通用组件（内容页）/ 框架布局 / 顶栏 / 左侧菜单树 / 标签页 / 登录页；
   3. 配色以"边界清楚、选中明显"为目标：边框加深、文字加深、交互态做实。
   ============================================================ */

/* ==================== 一、通用组件（内容页） ==================== */
.vpage { padding: 12px 16px 30px 16px; font-size: 13px; color: #000000; }

/* 卡片 */
.v-card { background: #fff; border: 1px solid #d3dae3; border-radius: 6px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(27,61,99,.07); }
.v-card-title { padding: 9px 14px; border-bottom: 1px solid #dde4ec; font-weight: 600; background: #e9eff6; border-radius: 6px 6px 0 0; color: #000000; }
.v-card-body { padding: 14px; }
.v-hint { color: #333333; font-size: 12px; margin-bottom: 12px; line-height: 1.8; }
.v-hint code { background: #eef1f5; padding: 1px 5px; border-radius: 3px; color: #c7254e; }

/* 表单行 */
.v-form-row { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.v-label { width: 96px; flex: none; text-align: right; padding-right: 10px; color: #000000; }
.v-field { position: relative; }
.v-input { border: 1px solid #c3cbd6; border-radius: 4px; padding: 6px 10px; width: 320px; outline: none; background: #fff; box-sizing: border-box; font-size: 13px; color: #000000; }
.v-input:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,.18); }
.v-input[readonly] { cursor: pointer; background: #fbfcfe; }
.v-tip { color: #333333; font-size: 12px; margin-left: 8px; }
.v-warn { color: #e63f3f; }

/* 按钮 */
.v-btn { display: inline-block; border: 1px solid #c3cbd6; background: #f7f9fc; border-radius: 4px; padding: 6px 14px; cursor: pointer; color: #000000; font-size: 13px; user-select: none; }
.v-btn:hover { color: #2f7fd6; border-color: #8fc3f5; background: #e3f0fd; }
.v-btn-primary { background: #409eff; border-color: #3592f5; color: #fff; }
.v-btn-primary:hover { background: #5fadff; border-color: #5fadff; color: #fff; }
.v-btn.disabled { opacity: .5; pointer-events: none; }

/* 下拉面板 */
.v-drop { position: absolute; z-index: 1500; top: 100%; left: 0; margin-top: 3px; background: #fff; border: 1px solid #c3cbd6; border-radius: 4px; box-shadow: 0 3px 14px rgba(27,61,99,.18); min-width: 100%; }
.v-drop-search { padding: 6px; border-bottom: 1px solid #dde4ec; background: #f7f9fc; }
.v-drop-search input { width: 100%; box-sizing: border-box; border: 1px solid #c3cbd6; border-radius: 3px; padding: 4px 8px; outline: none; font-size: 13px; color: #000000; }
.v-drop-list { max-height: 260px; overflow: auto; padding: 4px 0; }
.v-drop-item { padding: 6px 12px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #000000; }
.v-drop-item:hover { background: #e9f2fc; }
.v-drop-item.active { color: #2f7fd6; font-weight: 600; background: #f0f7ff; }
.v-drop-item .chk { margin: 0 8px 0 0; vertical-align: middle; }
.v-drop-empty { padding: 8px 12px; color: #666666; }

/* 弹窗 */
.v-mask { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 2500; display: flex; align-items: center; justify-content: center; }
.v-dialog { background: #fff; border: 1px solid #c3cbd6; border-radius: 6px; width: 660px; max-width: 92%; max-height: 84%; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.v-dialog-head { padding: 12px 16px; font-weight: 600; border-bottom: 1px solid #dde4ec; background: #e9eff6; color: #000000; border-radius: 6px 6px 0 0; }
.v-dialog-body { padding: 14px 16px; overflow: auto; line-height: 1.8; color: #000000; }
.v-dialog-foot { padding: 10px 16px; text-align: right; border-top: 1px solid #dde4ec; background: #f7f9fc; border-radius: 0 0 6px 6px; }
.v-preview-list { max-height: 170px; overflow: auto; background: #f7f9fc; border: 1px solid #d3dae3; border-radius: 4px; padding: 6px 10px; margin-top: 6px; font-family: Consolas, Monaco, monospace; font-size: 12px; word-break: break-all; color: #000000; }

/* 顶部提示 toast */
.v-toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 3000; padding: 10px 18px; border-radius: 4px; font-size: 13px; box-shadow: 0 3px 14px rgba(0,0,0,.2); }
.v-toast.info { background: #e8f2fe; color: #2f7fd6; border: 1px solid #a9d2f7; }
.v-toast.error { background: #fdeaea; color: #e63f3f; border: 1px solid #f5b0b0; }

/* 结果区 / 加载提示 */
.v-result { width: 100%; box-sizing: border-box; height: 170px; border: 1px solid #c3cbd6; border-radius: 4px; padding: 8px 10px; font-family: Consolas, Monaco, monospace; font-size: 12px; resize: vertical; color: #000000; }
.v-loading-tip { color: #2f7fd6; font-size: 12px; margin-left: 10px; }

/* 发送记录表格（分页） */
.v-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.v-table th { text-align: left; padding: 8px 10px; background: #e6ecf4; color: #000000; border-bottom: 1px solid #ccd5e0; border-top: 1px solid #ccd5e0; font-weight: 600; }
.v-table td { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; color: #000000; vertical-align: top; word-break: break-all; line-height: 1.7; }
.v-table tr:hover td { background: #f0f7ff; }
.v-td-time { color: #333333; font-size: 12px; font-family: Consolas, Monaco, monospace; }
.v-table tr.err .v-td-content { color: #e63f3f; }
.v-result-empty { padding: 16px; text-align: center; color: #666666; font-size: 13px; border: 1px dashed #c3cbd6; border-radius: 4px; background: #f7f9fc; }
/* 分页 */
.v-pager { display: flex; align-items: center; margin-top: 10px; font-size: 13px; }
.v-pager-info { color: #333333; margin-right: 12px; }
.v-pager-page { margin: 0 10px; color: #000000; }

/* ==================== 二、框架布局（main.jsp） ==================== */
.v-frame-body { margin: 0; padding: 0; overflow: hidden; background: #e9edf2; }
.v-layout { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.v-layout-north { flex: none; height: 42px; }
.v-layout-body { flex: 1; display: flex; overflow: hidden; }
.v-layout-west { flex: none; width: 260px; border-right: 1px solid #d3dae3; background: #fff; overflow: auto; }
.v-layout-center { flex: 1; overflow: hidden; background: #e9edf2; }

/* ==================== 三、顶栏（north.jsp） ==================== */
.v-north { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: linear-gradient(90deg, #23507f 0%, #1b3d63 100%); color: #fff; box-sizing: border-box; }
.v-north-logo { font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.v-north-user { font-size: 13px; display: flex; align-items: center; }
.v-north-user .v-north-name { margin-right: 14px; color: #d6e6ff; }
.v-north-link { position: relative; }
.v-north-link > a { color: #fff; text-decoration: none; cursor: pointer; padding: 4px 8px; border-radius: 3px; }
.v-north-link > a:hover { background: rgba(255,255,255,.18); }
.v-north-menu { position: absolute; right: 0; top: 26px; z-index: 1600; background: #fff; border: 1px solid #c3cbd6; border-radius: 4px; box-shadow: 0 3px 14px rgba(0,0,0,.2); min-width: 110px; padding: 4px 0; }
.v-north-menu-item { padding: 7px 14px; font-size: 13px; color: #000000; cursor: pointer; white-space: nowrap; }
.v-north-menu-item:hover { background: #e9f2fc; color: #2f7fd6; }

/* ==================== 四、左侧菜单树（west.jsp） ==================== */
.v-west-tools { display: flex; align-items: center; padding: 6px 8px; border-bottom: 1px solid #dde4ec; background: #e9eff6; }
.v-west-title { flex: 1; font-size: 13px; font-weight: 600; color: #000000; }
.v-west-tool-btn { color: #000000; cursor: pointer; font-size: 12px; margin-left: 6px; user-select: none; padding: 3px 8px; border: 1px solid #c3cbd6; border-radius: 3px; background: #fff; transition: all .15s; }
.v-west-tool-btn:hover { color: #2f7fd6; border-color: #8fc3f5; background: #e3f0fd; }
.v-tree { padding: 6px 6px 14px 6px; font-size: 13px; }
/* 菜单行：圆角 + hover 高亮 + 左侧色条（明确的"可点击"反馈） */
.v-tree-item { display: flex; align-items: center; height: 34px; margin-bottom: 1px; padding-right: 10px; border-radius: 4px; cursor: pointer; color: #000000; transition: background .15s, color .15s, box-shadow .15s; }
.v-tree-item:hover { background: #dceafd; color: #2f7fd6; box-shadow: inset 3px 0 0 #6fb0f2; }
.v-tree-item.active { background: #cfe3fb; color: #1f6fc4; font-weight: 600; box-shadow: inset 3px 0 0 #2f8ae0; }
.v-tree-item.has-children .v-tree-text { font-weight: 600; color: #000000; }
.v-tree-item.has-children:hover .v-tree-text, .v-tree-item.has-children.active .v-tree-text { color: #1f6fc4; }
/* 展开/收起箭头（CSS 绘制，带旋转动画） */
.v-tree-arrow { width: 20px; height: 20px; flex: none; position: relative; cursor: pointer; }
.v-tree-arrow::before { content: ''; position: absolute; left: 6px; top: 6px; width: 5px; height: 5px; border-right: 1.5px solid #6b7280; border-bottom: 1.5px solid #6b7280; transform: rotate(-45deg); transition: transform .18s; }
.v-tree-arrow.expanded::before { transform: rotate(45deg); top: 4px; }
.v-tree-item:hover .v-tree-arrow::before { border-color: #2f7fd6; }
/* 叶子节点标识圆点 */
.v-tree-dot { width: 20px; height: 20px; flex: none; position: relative; }
.v-tree-dot::before { content: ''; position: absolute; left: 7px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: #9aa3af; transition: background .15s; }
.v-tree-item:hover .v-tree-dot::before, .v-tree-item.active .v-tree-dot::before { background: #2f7fd6; }
.v-tree-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-tree-empty { padding: 16px; color: #666666; font-size: 13px; text-align: center; }

/* ==================== 五、标签页（center.jsp） ==================== */
.v-tabs { display: flex; flex-direction: column; height: 100%; }
.v-tabs-bar { flex: none; display: flex; align-items: flex-end; height: 37px; padding: 0 6px; background: #dde3ea; border-bottom: 1px solid #c9d1da; overflow-x: auto; overflow-y: hidden; }
.v-tab { display: flex; align-items: center; height: 30px; padding: 0 12px; margin-right: 4px; background: #f2f5f9; border: 1px solid #c9d1da; border-bottom: none; border-radius: 4px 4px 0 0; font-size: 13px; color: #000000; cursor: pointer; white-space: nowrap; user-select: none; }
.v-tab:hover { color: #2f7fd6; background: #e8f2fe; }
.v-tab.active { background: #409eff; color: #fff; border-color: #3592f5; font-weight: 600; }
.v-tab-title { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.v-tab-close { margin-left: 8px; font-size: 14px; line-height: 1; color: #666666; border-radius: 50%; width: 16px; height: 16px; text-align: center; }
.v-tab-close:hover { background: rgba(0,0,0,.2); color: #fff; }
.v-tab.active .v-tab-close { color: #e6f1ff; }
.v-tabs-body { flex: 1; position: relative; overflow: hidden; }
.v-tab-pane { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #fff; }
.v-tab-pane iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 右键菜单 */
.v-context-menu { position: fixed; z-index: 3000; background: #fff; border: 1px solid #c3cbd6; border-radius: 4px; box-shadow: 0 3px 14px rgba(0,0,0,.2); padding: 4px 0; min-width: 120px; font-size: 13px; }
.v-context-item { padding: 7px 14px; cursor: pointer; color: #000000; white-space: nowrap; }
.v-context-item:hover { background: #e9f2fc; color: #2f7fd6; }
.v-context-sep { height: 1px; background: #dde4ec; margin: 4px 0; }

/* ==================== 六、登录页（login.jsp） ==================== */
.v-login-body { margin: 0; padding: 0; }
.v-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1b3d63 0%, #23507f 55%, #3a6ea5 100%); }
.v-login-card { width: 360px; background: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.3); padding: 30px 32px 24px 32px; box-sizing: border-box; }
.v-login-title { font-size: 18px; font-weight: 600; text-align: center; color: #000000; margin-bottom: 6px; }
.v-login-sub { font-size: 12px; text-align: center; color: #333333; margin-bottom: 22px; }
.v-login-row { margin-bottom: 16px; }
.v-login-row label { display: block; font-size: 13px; color: #000000; margin-bottom: 6px; }
.v-login-row input { width: 100%; box-sizing: border-box; height: 36px; border: 1px solid #c3cbd6; border-radius: 4px; padding: 0 10px; font-size: 14px; outline: none; color: #000000; }
.v-login-row input:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,.18); }
.v-login-btn { width: 100%; height: 38px; background: #409eff; border: none; border-radius: 4px; color: #fff; font-size: 14px; cursor: pointer; margin-top: 6px; font-weight: 600; }
.v-login-btn:hover { background: #5fadff; }
.v-login-btn.disabled { opacity: .55; pointer-events: none; }
.v-login-error { color: #e63f3f; font-size: 13px; min-height: 18px; margin-top: 10px; text-align: center; }


/* 小号统一按钮：沿用 .v-btn 的外观，只压缩尺寸 */
.v-btn-sm { padding: 3px 12px !important; font-size: 12px !important; line-height: 18px !important; }




/* ==================== 左侧账号下拉菜单（点击 / 悬停都可展开） ==================== */
.v-west-tools { position: relative; }
.v-west-user {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    margin-left: auto; padding: 3px 8px; border-radius: 14px; cursor: pointer;
    font-size: 12px; color: #000000; min-width: 0; flex: none;
    border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.v-west-user:hover { background: #e8f2fe; border-color: #c6ddf5; }
.v-west-user.open { background: #e3f0fd; border-color: #8fc3f5; }
.v-west-caret { font-size: 9px; color: #6b7a90; transition: transform .15s; line-height: 1; }
.v-west-user.open .v-west-caret { transform: rotate(180deg); }
.v-west-avatar {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 20px; height: 20px; border-radius: 50%; font-size: 10px;
    background: #e3f0fd; border: 1px solid #8fc3f5;
}
.v-west-account { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

/* 面板：默认隐藏，.open 或 hover 时显示（不再依赖 v-show，避免片段里失效） */
.v-west-menu {
    display: none;
    position: absolute; right: 0; top: 100%; z-index: 3000;
    min-width: 132px; margin-top: 4px; padding: 4px;
    background: #ffffff; border: 1px solid #c3cbd6; border-radius: 6px;
    box-shadow: 0 8px 24px rgba(24, 39, 58, .18);
    flex-direction: column; gap: 2px;
}
.v-west-user.open .v-west-menu { display: flex; }
.v-west-menu-item {
    padding: 7px 10px; border-radius: 4px; font-size: 12px; cursor: pointer;
    color: #333333; white-space: nowrap; text-align: left;
}
.v-west-menu-item:hover { background: #e8f2fe; color: #155a92; }
.v-west-menu-item.danger { color: #c0392b; }
.v-west-menu-item.danger:hover { background: #fdeaea; color: #b02a1f; }

/* 工具条左右分组 */
.v-west-actions { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.v-btn-sm { padding: 3px 12px !important; font-size: 12px !important; line-height: 18px !important; }

/* ==================== 复选框 / 单选框 / 文件框（统一外观，避免浏览器原生样式） ==================== */
input[type="checkbox"], input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    margin: 0 5px 0 0;
    border: 1px solid #c3cbd6;
    border-radius: 3px;
    background: #fff;
    vertical-align: -2px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background .15s, border-color .15s;
}
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: #409eff; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: #409eff; border-color: #409eff; }
input[type="checkbox"]:checked::after {
    content: '';
    position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
    border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
input[type="radio"] { border-radius: 50%; }
input[type="radio"]:checked::after {
    content: '';
    position: absolute; left: 3px; top: 3px; width: 7px; height: 7px;
    border-radius: 50%; background: #fff;
}
input[type="file"] { font-size: 12px; color: #555; }

/* ==================== 下拉框（统一外观：自绘箭头 + 统一列表项） ==================== */
select.v-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23909aab'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}
select.v-input:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,.18); }
select.v-input option {
    padding: 7px 10px;
    background: #fff;
    color: #000;
    font-size: 13px;
}
select.v-input option:checked { background: #409eff; color: #fff; }

/* ==================== 自绘下拉（vue-select.js 包装后的结构） ==================== */
.pp-sel { position: relative; display: inline-block; vertical-align: middle; flex: none; max-width: 100%; }
.pp-sel select.pp-sel-native { display: none; }
.pp-sel-btn.empty { color: #909399; }
.v-form-row > select.v-input { flex: none; }
.pp-sel-btn {
    display: block; box-sizing: border-box; width: 100%;
    padding: 6px 30px 6px 10px; border: 1px solid #c3cbd6; border-radius: 4px;
    background-color: #fff; color: #000; font-size: 13px; line-height: 20px;
    cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23909aab'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.pp-sel-btn:hover { border-color: #a8b6c8; }
.pp-sel.open .pp-sel-btn { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,.18); }
.pp-sel-panel {
    display: none; position: absolute; z-index: 3000; left: 0; top: 100%; margin-top: 2px;
    min-width: 100%; background: #fff;
    border: 1px solid #c3cbd6; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
/* 顶部搜索框 + 选项滚动区 */
.pp-sel-search { padding: 6px 8px; border-bottom: 1px solid #f0f2f5; background: #fff; }
.pp-sel-search input {
    width: 100%; box-sizing: border-box; padding: 5px 8px; border: 1px solid #c3cbd6;
    border-radius: 4px; font-size: 13px; line-height: 16px; outline: none;
    background: #fff; color: #000;
}
.pp-sel-search input:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,.18); }
.pp-sel-list { max-height: 240px; overflow: auto; }
.pp-sel.open .pp-sel-panel { display: block; }
.pp-sel-item {
    padding: 10px 14px; font-size: 13px; line-height: 20px; color: #000;
    cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    border-bottom: 1px solid #f0f2f5;
}
.pp-sel-item:last-child { border-bottom: 0; }
.pp-sel-item:hover { background: #eef6ff; }
.pp-sel-item.on { background: #409eff; color: #fff; }
